package com.wenan.ui.controls.listpanel
{
	
	import spark.components.TextArea;
	
	public class SquareTooTip extends TextArea
	{
		private var _SquareStatisticsInfo:String;
		
		public function SquareTooTip()
		{
			super();
			setStyle("skinClass",CustomTextAreaSkin);
			this.editable=false;
		}
		
		public function get SquareStatisticsInfo():String
		{
			return _SquareStatisticsInfo;
		}

		public function set SquareStatisticsInfo(value:String):void
		{
			_SquareStatisticsInfo = value;
			this.text=_SquareStatisticsInfo;
			this.height=(_SquareStatisticsInfo.length/11)*20;
		}

	}
}